package com.hl.hospital.service.impl;

import com.hl.hospital.dao.EmrDictUseMapper;
import com.hl.hospital.entity.EmrDictUse;
import com.hl.hospital.service.EmrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hl
 * @Date: 2021/06/22/15:17
 */
@Service
public class EmrServiceImpl implements EmrService {
    @Autowired
    private EmrDictUseMapper emrDictUseMapper;

    @Override
    public int insert(EmrDictUse record) {
        return emrDictUseMapper.insert(record);
    }

    @Override
    public List<EmrDictUse> selectAll() {
        return emrDictUseMapper.selectAll();
    }
}
